<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/31
 * Time: 17:12
 */
namespace app\admin\validate;

class AdminValidate extends BaseValidate{

    protected $rule = [
        'mobile'=>'require|isMobile',
        'password'=>'require',
        'sms_code'=>'require'
    ];

    protected $message = [
        'mobile'=>'请填写正确的手机号',
        'password'=>'密码不能为空',
        'sms_code'=>'验证码不能为空'
    ];

}